const center = m => require.ensure([],()=>m(require('@/components/center')),'center')   // 个人中心
const tutelage = m => require.ensure([],()=>m(require('@/components/centerChild/tutelage')),'tutelage')   // 家长监护工程
const music = m => require.ensure([],()=>m(require('@/components/indexChild/music')),'music')   // 音乐网站
const disputeHandling = m => require.ensure([],()=>m(require('@/components/indexChild/disputeHandling')),'disputeHandling')   // 纠纷处理
const about = m => require.ensure([],()=>m(require('@/components/indexChild/about')),'about')   // 关于我们
export const centers = [
    {
        path: '/center',
        name: 'center',
        component: center,
    },
    {
        path: '/tutelage',
        name: 'tutelage',
        component: tutelage,
    },
    {
        path: '/music',
        name: 'music',
        component: music,
    },
    {
        path: '/disputeHandling',
        name: 'disputeHandling',
        component: disputeHandling,
    },
    {
        path: '/about',
        name: 'about',
        component: about,
    }
    
]